﻿/*投票页*/

.bg {
  background-image: url(../images/bg.png);
  background-repeat: no-repeat;
  background-size: cover;
}

/* @media (device-height: 480px) and (-webkit-min-device-pixel-ratio: 2){ 兼容iphone4/4s
  .bg{
    height: 17.786667rem;
  }
} */

.icon {
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
}

/*头部返回按钮*/

header {
  width: 100%;
  height: 1.333333rem;
}

header .hd {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1.333333rem;
  overflow: hidden;
}

.hd .back-btn {
  position: absolute;
  left: 0.693333rem;
  top: 50%;
  -webkit-transform: translate(0, -50%);
          transform: translate(0, -50%);
  width: 0.813333rem;
  height: 0.813333rem;
  background-image: url(../images/back.png);
  border-radius: 50%;
}

.hd .back-btn:active {
  background-color: #ececec;
}

/*歌曲主体*/
.img-wrap {
  position: relative;
  display: block;
  width: 6.84rem;
  height: 6.84rem;
  margin-left: auto;
  margin-right: auto;
}

.music-img {
  position: relative;
  display: block;
  width: 6.84rem;
  height: 6.84rem;
  margin-left: auto;
  margin-right: auto;
  background-image: url(../images/circle_bg.png);
}

.music-img__person,
.img-wrap .music-img__arm,
.img-wrap .music-img__ring {
  position: absolute;
}

.music-img__person {
  left: 50%;
  top: 50%;
  width: 3.626667rem;
  height: 3.626667rem;
  border: 0.08rem solid #000;
  border-radius: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.img-wrap .music-img__arm {
  top: 0.853333rem;
  right: -0.4rem;
  width: 1.826667rem;
  height: 3.853333rem;
  background-image: url(../images/arm.png);
}

.img-wrap .music-img__ring {
  top: -0.133333rem;
  right: -1.133333rem;
  width: 1.173333rem;
  height: 1.16rem;
  background-image: url(../images/ring.png);
}

.music-msg {
  padding-top: 0.76rem;
  text-align: center;
}

.music-msg .music-msg__title {
  font-size: 0.56rem !important;
}

.music-msg .music-msg__info {
  padding-top: 0.373333rem;
  font-size: 0.293333rem;
  color: #fff;
  letter-spacing: 0.013333rem;
}

.music-vote {
  padding-top: 0.573333rem;
  text-align: center;
}

.music-vote .vote-btn {
  width: 3.333333rem;
  height: 0.96rem;
  background-image: url(../images/vote.png);
  border-radius: 0.133333rem;
  text-indent: -133.32rem;
}

.music-vote .voted-btn{background-image: url(../images/voted.png);}

/*控制播放器*/

.audio-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3.16rem;
  padding: 0.546667rem 0.2rem 0.626667rem;
  text-align: center;
  background-color: #151513;
}

.audio-progress {
  color: #717171;
  font-size: 0.24rem;
}

.audio-progress .begin-time,
.audio-progress .time-progress,
.audio-progress .end-time {
  position: absolute;
  top: 0.546667rem;
}

.audio-progress .begin-time {
  left: 0.2rem;
}

.audio-progress .end-time {
  right: 0.2rem;
}

.audio-progress .time-progress {
  left: 1rem;
  right: 1rem;
  top: 0.666667rem;
  height: 0.04rem;
  background: none repeat scroll 0 0 #717171;
}

.time-progress .progress-wrap {
  position: relative;
  width: 100%;
  height: 0.04rem;
  cursor: pointer;
}

.progress-wrap .progress-bar,
.progress-wrap .progress-btn {
  position: absolute;
  left: 0;
}

.progress-wrap .progress-bar {
  top: 0;
  width: 0;
  height: 0.04rem;
  background: none repeat scroll 0 0 #fff000;
}

.progress-wrap .progress-btn {
  display: inline-block;
  top: 50%;
  -webkit-transform: translate(0, -50%);
          transform: translate(0, -50%);
  width: 0.16rem;
  height: 0.16rem;
  border-radius: 50%;
  background-color: #fff000;
}

.audio-control {
  padding-top: 0.533333rem;
}

.audio-control a {
  vertical-align: middle;
}

.audio-control .control-prev {
  width: 0.973333rem;
  height: 0.96rem;
  background-image: url(../images/prev.png);
}

.audio-control .control-next {
  width: 0.973333rem;
  height: 0.96rem;
  background-image: url(../images/next.png);
}

.audio-control .control-play {
  width: 1.373333rem;
  height: 1.373333rem;
  margin: 0 1.2rem;
  background-image: url(../images/play.png);
}

.audio-control .control-pause {
  width: 1.373333rem;
  height: 1.373333rem;
  margin: 0 1.2rem;
  background-image: url(../images/pause.png);
}

/*列表页*/

.bg2 {
  height: auto;
  background-image: url(../images/bg2.png);
  background-repeat: no-repeat;
  background-size: cover;
}

/*日期*/

.ordinal,
.dates {
  position: absolute;
  display: inline-block;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.ordinal {
  top: 0.4rem;
  left: 0.08rem;
}

.dates {
  top: 0.666667rem;
  left: -0.066667rem;
}

/*音乐榜标题*/

.top-title {
  position: absolute;
  right: 0.346667rem;
  top: 2.733333rem;
  width: 5.88rem;
  height: 2.786667rem;
  text-indent: -133.32rem;
  background-image: url(../images/title.png);
  background-repeat: no-repeat;
  background-size: contain;
}

/*榜上歌曲*/

.songs-content {
  padding-top: 5.306667rem;
}

.songs-title {
  width: 2.32rem;
  height: 0.613333rem;
  margin-left: 0.44rem;
  margin-bottom: 0.373333rem;
  text-indent: -133.32rem;
  background-repeat: no-repeat;
  background-size: contain;
}

.songs-title--on {
  background-image: url(../images/on.png);
}

.songs-list li {
  margin-bottom: 0.426667rem;
}

.songs-list li:last-child {
  margin-bottom: 0;
}

.songs-list li>a:active {
  background-color: #b1b1b1;
}

.songs-wrap {
  position: relative;
  display: -webkit-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 1.493333rem;
  color: #fff;
  background: rgba(255,255,255,.2);
}

.songs-wrap .songs-rank {
  display: -webkit-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  width: 1.133333rem;
  font-size: 0.64rem;
  background: rgba(255,255,255,.2);
}

.songs-wrap .songs-avatar {
  display: -webkit-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-flex: 1;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.songs-avatar .songs-avatar__img {
  display: -webkit-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border: 0.04rem solid #fff;
  border-radius: 50%;
}

.songs-wrap .songs-info {
  position: relative;
  display: -webkit-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex: 3;
  -webkit-box-flex: 3;
      -ms-flex: 3;
          flex: 3;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-left: 0.133333rem;
  color: #fff;
}

.songs-info .songs-name {
  display: inline-block;
  width: 3.733333rem;
  overflow: hidden;
  font-size: 0.36rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.songs-info .songs-vote {
  position: absolute;
  z-index: 100;
  display: inline-block;
  width: 0.76rem;
  height: 0.32rem;
  line-height: 0.32rem;
  text-indent: -133.32rem;
  margin-top: 0.066667rem;
  margin-left: 0.133333rem;
  background-image: url(../images/vote_yellow.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.songs-info .songs-voted {
  background-image: url(../images/vote_grey.png);
}

.songs-info .songs-text {
  margin-top: 0.133333rem;
}

.songs-text .songs-text__school,
.songs-text .songs-text__student {
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
  font-size: 0.266667rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.songs-text .songs-text__school {
  width: 2.133333rem;
}

.songs-text .songs-text__student {
  width: 1.066667rem;
}

.songs-info .songs-text .songs-text__total {
  display: inline-block;
  vertical-align: middle;
  font-size: 0.293333rem;
}

.songs-wrap .songs-player {
  position: relative;
  display: -webkit-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 1.866667rem;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.songs-wrap .songs-honor {
  position: absolute;
  top: -50%;
  right: 0;
  display: -webkit-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transform: translate(0, 50%);
          transform: translate(0, 50%);
  width: 1.173333rem;
  height: 1.08rem;
  background-repeat: no-repeat;
  background-size: contain;
  text-indent: -133.32rem;
}

.songs-list li:nth-child(1) .songs-wrap .songs-honor {
  background-image: url(../images/num1.png);
}

.songs-list li:nth-child(2) .songs-wrap .songs-honor {
  background-image: url(../images/num2.png);
}

.songs-list li:nth-child(3) .songs-wrap .songs-honor {
  background-image: url(../images/num3.png);
}

.icon-vote {
  width: 0.28rem;
  height: 0.32rem;
  vertical-align: middle;
  background-image: url(../images/zan.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.icon-play {
  width: 0.64rem;
  height: 0.64rem;
  margin-left: -0.133333rem;
  border-radius: 50%;
  text-indent: -133.32rem;
  background-image: url(../images/sm_play.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.icon-pause {
  display: none;
  width: 0.64rem;
  height: 0.64rem;
  margin-left: -0.133333rem;
  border-radius: 50%;
  text-indent: -133.32rem;
  background-image: url(../images/sm_pause.png);
  background-repeat: no-repeat;
  background-size: contain;
}

/*黑色分隔*/

.black-division {
  width: 100%;
  height: 0.373333rem;
  margin-top: 0.213333rem;
  margin-bottom: 0.4rem;
  background-color: #221814;
}

/*打榜歌曲*/

.songs-title--hits {
  background-image: url(../images/hits.png);
}

.hits-songs li {
  margin-bottom: 0.426667rem;
}

.hits-songs li:last-child {
  margin-bottom: 0;
}

.hits-songs li>a:active {
  background-color: #b1b1b1;
}

/*底部*/

footer {
  text-align: center;
}

footer img {
  width: 10rem;
  height: 4.147rem;
}

/*遮罩层*/

.mask {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  visibility: hidden;
  background-color: rgba(0,0,0,.8);
}

.rules-text {
  display: block;
  width: 8.28rem;
  height: 10.773333rem;
  margin: 1rem auto 0;
}

.go-btn {
  display: block;
  width: 3.4rem;
  height: 1.026667rem;
  margin: 1rem auto 0;
  border-radius: 0.133333rem;
  text-indent: -133.32rem;
  border: none;
  outline: 0;
  border-radius: 0.453333rem;
  background-image: url(../images/start.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.copyright {
  position: absolute;
  bottom: 0.346667rem;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
  z-index: 1001;
  color: #fff;
  font-size: 0.24rem;
}